<?php
/**
* 默认 mod
*
*/
class index_mod extends mod{

    /**
    * 默认 act
    *
    */
    public function indexAct(){
        $this->display('index.html');
    }

    public function loadAct(){
        $uobj = core::getobj('user_tab');
        if($uobj->load()){
            $uobj->dump()->save();
        }else{
            var_dump($uobj->geterr());
        }
    }

    public function errAct(){
        $this->display('err');
    }

    public function __call($para , $p2){
        var_dump($para);
    }
}
?>